public class demo01 {
    public static void isEvenNunber(int num) {
        if (num % 2 == 0) {
            System.out.println("偶数");
        } else {
            System.out.println("基数");
        }
    }
        //方法体
        public static void main (String[] args){
            isEvenNunber(9);
        }
    }
